import { requestClient } from '#/api/request';

// 列表
export const queryPage = (params: any) =>
  requestClient.get('/link/page', { params });

// 添加
export const queryAdd = (params: any) =>
  requestClient.post('/link/add', params);

// 更新
export const queryUpdate = (params: any) =>
  requestClient.post('/link/update', params);

// 删除
export const queryRemove = (params: any) =>
  requestClient.post('/link/delete', params);

// 修改状态
export const setStatus = (params: any) =>
  requestClient.post('/link/setSendStatus', params);
